Hi,
it tried to do a \atpage command that results
a) some page = nothing
b) different page = pagenumber with some text (e.g. auf Seite XY)
\def\atPage[#1]%
{\doifnot{\at[#1]}{\currentpage}%
{\at[#1]}%
}
My problem with this is, that the \doifnot always results
Hi,
I'm a neophyte using last year's TeXLive context. An expert can probably
improve my answer. Does this work for you?:
\def\atPage[#1]%
{\doifnot{\doifreferencefoundelse{#1}{\currentreferencepage}{?}}{\currentpage}%
{\at[#1]}%
}
I adapted it from code in strc
On 15-5-2012 14:28, Peter Schorsch wrote:
Hi,
it tried to do a \atpage command that results
a) some page = nothing
b) different page = pagenumber with some text (e.g. auf Seite XY)
\def\atPage[#1]%
{\doifnot{\at[#1]}{\currentpage}%
{\at[#1]}%
}
My problem